Summary

This component can be used to select multiple documents in a hierarki.

Component properties
Category AS Document
Version 1.1
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type inline

When the component is inserted on a page a small textbox with a browse button is displayed. When the user clicks the browse button a client side dialog box shows up from which the user can select a document from the hierarchy.

The Show document hierarchy component
The Show document hierarchy component

Notes for developers

Two input fields are generated:

Input elements available
NameRemarks
docstitle Visble, show the name of the selected document.
docsid Hidden, contains the identifier of the selected document.

When to use

This component is typically used when there is a need for an user to view and select documents from a hierarchy of documents. 

Programming interface

Parameters

Fieldname
A fieldname to use for the textbox .
ParentID
Optional, an identifier of a document that should act as the root of the hierarchy. Leave empty to use current id as root.
Checkbox
Enable checkbox
Menu
Enable right click menu
Move
Enable moving documents in hierarki
ButtonClassName
A CSS class to use when formatting the browse button
ButtonText
The text of the browse button.
TextboxClassName
Optional, a CSS class name used to format the textbox
DisplayText
Optional, a string describing that is displayed, ex. "Selected categories:"
Attributes
Optional, the html-attributes to be applied in the textbox.

Remarks